package com.dfrz.bookstore.entry;


import java.sql.Date;

/**
 * 类功能描述:
 *    用户意见类
 * @Author keyan
 * @Date 2021/5/18 18:55
 */
public class Idea {
    private int id;            //意见id
    private String title;      //意见标题
    private String content;    //意见内容
    private Date send_time;  //意见发送时间
    private int userId;     //意见发送者,为用户ID
    private Date create_time;   //创建日期
    private Date update_time;   //更新日期

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public Date getSend_time() {
        return send_time;
    }

    public void setSend_time(Date send_time) {
        this.send_time = send_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Idea{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", send_time=" + send_time +
                ", userId='" + userId + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}
